﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO
{
    public class SoupTaskQuery : PageQuery
    {
        /// <summary>
        /// 任务标题
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string status { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string begin_time { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string end_time { get; set; }
    }

    /// <summary>
    /// 任务查询请求
    /// </summary>
    [Serializable]
    public class soup_task_query
    {
        /// <summary>
        /// 任务Id
        /// </summary>
        public long id { get; set; }
    }
    /// <summary>
    /// 任务
    /// </summary>
    [Serializable]
    [JsonObject(MemberSerialization.OptOut)]
    public class task_query {
        /// <summary>
        /// 用户Id
        /// </summary>
        public long user_id { get; set; }
        /// <summary>
        /// 是否是app 上架使用
        /// </summary>
        public bool is_type { get; set; }
    }

    public class UserSoupValueHisQuery : PageQuery
    {
        /// <summary>
        /// 任务类型枚举值
        /// </summary>
        public string task_type_value { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string mobile { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string begin_time { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string end_time { get; set; }
    }
}
